package com.spring.core;

import com.sun.istack.internal.Nullable;

/**
 * @Description
 * @Author lh
 * @Date 2021-09-30 12:08
 */
public interface BeanPostProcessor {

    @Nullable
    default Object postProcessBeforeInitialization(Object bean, String beanName){
        return bean;
    }

    @Nullable
    default Object postProcessAfterInitialization(Object bean, String beanName){
        return bean;
    }
}
